<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<base href="<?= $this->config->config['base_url'] ?>" />
<title>Tiparire chitanta</title>
<style>
	body {
		font-family:Arial, Helvetica, sans-serif;
		font-size:11px;
	}
	.furnizorDescriere {
		font-size:11px;
		margin-right:5px;
	}
	.item {
		border-bottom:1px dotted #000000;
	}
	h1 {
		font-size:24px;
		font-weight:bold;
	}
</style>						
</head>		
<body>
<div style="border:1px solid #000000; padding-left:2px;">
	  <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="50%" rowspan="2" valign="top"><div style="font-size:11px;" class="furnizorDescriere">
            <table width="100%" border="0" cellspacing="0" cellpadding="2px">

              <tr>
                <td width="32%" height="8" valign="top">
                  <div align="left">Furnizor:</div></td>
                <td width="68%" valign="top"><div align="left"><?= $dataDS['compania'][0]['nume'] ?></div></td>
              </tr>
              <tr>
                <td width="32%" height="8" valign="top"><div align="left">C.I.F.:</div></td>
                <td width="68%" valign="top"><div align="left"><?= $dataDS['compania'][0]['cui'] ?></div></td>
              </tr>
              <tr>
                <td width="32%" height="8" valign="top"><div align="left">Nr.reg. com:</div></td>
                <td width="68%" valign="top"><div align="left"><?= $dataDS['compania'][0]['nr_reg'] ?></div></td>
              </tr>
            </table>
          </div><div class="furnizorDescriere">
              <table width="100%" border="0" cellspacing="0" cellpadding="2px">
                <tr>
                  <td width="32%" height="8" valign="top"><div align="left">Domiciliul fiscal :</div></td>
                    <td width="68%" height="8" valign="top"><div align="left"><?= $dataDS['compania'][0]['adresa'] ?></div></td>
                  </tr>
                <tr>
                  <td width="32%" height="8" valign="top"><div align="left"><b>IBAN RON:</b></div></td>
                    <td width="68%" height="8" valign="top"><div align="left"><?= $dataDS['compania'][0]['iban1'] ?></div></td>
                  </tr>
                <tr>
                  <td width="32%" height="8" valign="top"><div align="left">Banca:</div></td>
                    <td width="68%" height="8" valign="top"><div align="left"><?= $dataDS['compania'][0]['banca1'] ?></div></td>
                  </tr>
                    <?php if (!empty($dataDS['compania'][0]['iban2']) && !empty($dataDS['compania'][0]['banca2'])) {?>                      
					  <tr>
					<td width="32%" height="8" valign="top"><div align="left"><b>IBAN EUR:</b></div></td>
                    <td width="68%" height="8" valign="top"><div align="left"><?= $dataDS['compania'][0]['iban2'] ?></div></td>
                  </tr>
                <tr>
                  <td width="32%" height="8" valign="top"><div align="left">Banca:</div></td>
                    <td width="68%" height="8" valign="top"><div align="left"><?= $dataDS['compania'][0]['banca2'] ?></div></td>
                  </tr>                    
                  <?php }?>
                </table>
            </div></td>
          <td height="72" valign="top">&nbsp;</td>
          <td width="33%" height="72" valign="top"><table width="100%" height="19" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td height="19" valign="top">
				<div align="center">
                    <div align="right" style="padding-right:10px;">&nbsp;</div>
                </div></td>
              </tr>
          </table></td>
        </tr>
        <tr>
          <td height="72" colspan="2" valign="bottom">
          	<div align="left" style="padding-left:80px;">
            <h1>CHITANTA</h1>
          	</div>
              <table width="100%" height="57" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="22%" height="30" valign="bottom" >&nbsp;</td>
                  <td width="19%" valign="bottom" ><div align="left">Nr.</div></td>
                  <td width="59%" height="30" valign="bottom" ><div align="left"><?= $dataDS['incasare'][0]['nr_chit'] ?></div></td>
                </tr>
                <tr>
                  <td height="30" valign="bottom" >&nbsp;</td>
                  <td height="30" valign="bottom" ><div align="left">Seria</div></td>
                  <td height="30" valign="bottom" ><div align="left"><?=$dataDS['seria'] ?></div></td>
                </tr>
                <tr>
                  <td height="20" valign="bottom" >&nbsp;</td>
                  <td height="20" valign="bottom" ><div align="left">Data:</div></td>
                  <td height="9" valign="bottom" ><div align="left"><?=  DateConvertFromMySql($dataDS['incasare'][0]['data'],'d-m-Y') ?></div></td>
                </tr>
            </table></td>
          </tr>
        <tr>
          <td colspan="3" valign="bottom"><table width="100%" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="15%" height="22" valign="middle"><div align="left">Am primit de la: </div></td>
                <td height="22" colspan="2" valign="middle"><div align="left" class="item"><?= $dataDS['client'][0]['nume'] ?></div></td>
              </tr>
              <tr>
                <td height="22" valign="middle" ><div align="left">Adresa:</div></td>
                <td height="22" colspan="2" valign="middle" ><div align="right" >
                    <div align="left" class="item"><?= $dataDS['client'][0]['adresa'] ?>, Jude&#355;ul <?= $dataDS['judet_cl'] ?></div>
                </div></td>
              </tr>
              <tr>
                <td height="22" valign="middle" ><div align="left">Suma de: </div></td>
                <td width="21%" height="22" valign="middle" ><div align="left" class="item"><?= $dataDS['incasare'][0]['valoarea'] ?></div></td>
                <td width="64%" height="22" valign="middle" ><div class="item">&nbsp;</div></td>
              </tr>
              <tr>
                <td height="22" valign="middle" ><div align="left">adic&#259;:</div></td>
                <td height="22" colspan="2" valign="middle" ><div align="left" class="item"><?=$dataDS['caractere']?></div></td>
              </tr>
              <tr>
                <td height="22" valign="middle" ><div align="left">reprezent&acirc;nd:</div></td>
                <td height="22" colspan="2" valign="middle" ><div align="left" class="item">Contravaloare factura serie <?= $dataDS['seria'] ?>, numar <?= $dataDS['nr_factura'] ?></div></td>
              </tr>
              <tr>
                <td height="22" valign="middle" >&nbsp;</td>
                <td height="25" colspan="2" valign="middle" ><div align="right" style="margin-right:100px;">Casier, <?= $dataDS['casier'] ?></div></td>
              </tr>
          </table></td>
        </tr>
      </table>
	</div>
</body>
</html>
<div style="height:50px; padding-top:40px;">
<hr  style="border:0px; background-color:#000000; height:1px;"/>
</div>